<seed-content>
  <seed-toolbar-header>
    <seed-toolbar-title>赞助</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>
  <div class="seed-sponsor">
    <seed-infinite-scroll
      class="search-results"
      (infiniteScroll)="onScroll()"
      *ngIf="sponsorList[0]!='无'"
    >
      <div class="sponsor-clum"
           (click)="GoToDetail(item.id)"
           *ngFor="let item of sponsorList"
      >
        <div class="sponsor-clum-title">
          <div class="sponsor-title">
            <span>赞助</span>
            <p>{{item.planName }}</p>
          </div>
          <div class="sponsor-project">
            <span>项目:</span>
            <span class="sponsor-type">{{item.projectName||'暂无'}}</span>
          </div>
          <div class="sponsor-project">
            <span>时间:</span>
            <span>{{item.startTime|amDateFormat:'YYYY/MM' }}</span>
            ~<span>{{item.endTime|amDateFormat:'YYYY/MM' }}</span>
          </div>
        </div>
        <div class="sponsor-img">
          <seed-img class="match-picture"
                    [lazyLoadImg]="item.imgUrl"
                    [defaultImg]="'long'"
          ></seed-img>
        </div>
      </div>
      <seed-infinite-scroll-content></seed-infinite-scroll-content>
    </seed-infinite-scroll>
  </div>
  <missing-default-content
    *ngIf="sponsorList[0]=='无'"
  ></missing-default-content>
  <seed-sponsor-filterPage
    #filterParam
    *ngIf="sponsorFilter"
    (closePages)="CloseFlter()"
    [filterData]="filterData"
    (submitDate)="Filter(filterParam)"
    [filterParam]="filterObj"
    [proListName]="proListName"
    [areaName]="areaName"
  ></seed-sponsor-filterPage>
  <div class="sponsor-filter-tabs" (click)="ShowFilter()"></div>
</seed-content>
